package com.freeter.modules.good.entity.view;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotations.TableName;
import com.freeter.modules.good.entity.CategoryGoodEntity;

import org.springframework.beans.BeanUtils;

import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;


/**
 * 分类表
 *
 * @date 2018-06-01 16:28:07
 */
@TableName("cn_category_good")
@ApiModel(value = "CategoryGood")
public class CategoryGoodView extends CategoryGoodEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public CategoryGoodView() {
    }

    public CategoryGoodView(CategoryGoodEntity categoryGoodEntity) {
        BeanUtils.copyProperties(this, categoryGoodEntity);

    }
}
